package com.hwj.mapper;

import com.hwj.entity.UserSearchHistory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【t_user_search_history】的数据库操作Mapper
* @createDate 2024-03-04 14:07:21
* @Entity com.hwj.entity.UserSearchHistory
*/
@Mapper
public interface UserSearchHistoryMapper {

    int deleteByPrimaryKey(Long id);

    int insert(UserSearchHistory record);

    int insertSelective(UserSearchHistory record);

    UserSearchHistory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserSearchHistory record);

    int updateByPrimaryKey(UserSearchHistory record);

    List<UserSearchHistory> listByUserId(Long userId);

    List<UserSearchHistory> listHot();
}
